<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<table class="mytable" cellspacing="0">
<c:choose>
	<c:when test="${empty routes}">
	<tr>
		<td>暂时还没有旅游线路信息</td>
	</tr>
	</c:when>
	<c:otherwise>
	<c:forEach items="${routes}" var="route" varStatus="s">
	<tr <c:if test="${s.count%2!=0}">class="rowalt"</c:if>>
		<td width="285px;">
			<a class="mya" href="${ctx}/route/queryRoute.usr?routeId=${route.routeId}&type=${type}">${route.routeName}</a>
		</td>
		<td>
		<c:choose>
		<c:when test="${type eq constant.GROUP_TYPE_SIX}">
			<c:choose>
			<c:when test="${route.lowestPrice1 eq 0}">
			暂无价格
			</c:when>
			<c:otherwise>
			￥<fmt:formatNumber value="${route.lowestPrice1 }" pattern="0"/>起
			</c:otherwise>
			</c:choose>
		</c:when>
		<c:when test="${type eq constant.GROUP_TYPE_SEVEN}">
			<c:choose>
			<c:when test="${route.lowestPrice1 eq 0}">
			暂无价格
			</c:when>
			<c:otherwise>
			￥<fmt:formatNumber value="${route.lowestPrice2 }" pattern="0"/>起
			</c:otherwise>
			</c:choose>
		</c:when>	
		</c:choose>
			
		</td>
	</tr>
	</c:forEach>
	</c:otherwise>
</c:choose>
</table>
<c:if test="${!empty routes}">
<div class="more">
	<a href="${ctx}/route/queryMoreRoute.usr?orgCityId=${cityId}" target="_blank">更多...</a>
</div>
<script type="text/javascript">	
	//表格tr鼠标飘过样式
	$(".mytable tr").mouseover(function(){
		$(this).attr("style","background-color:#D0E5F5");
	});
	$(".mytable tr").mouseout(function(){
		$(this).removeAttr("style");
	});
</script>
</c:if>
